package nina.yiyou.salary.output.util

import nina.yiyou.salary.input.util.InputPathResolver

import java.nio.file.Path

class OutputPathResolver {

  OutputPathResolver(Path workshopPath, Map configMap, String pathKey) {
    _workshopPath = workshopPath
    _configMap = configMap
    _pathKey = pathKey
  }

  Path resolve() {
    return InputPathResolver.create(_workshopPath, _configMap, _pathKey).resolve()
  }

  private final Path _workshopPath

  private final Map _configMap
  private final String _pathKey
}
